export default ({ request }) => ({
  /**
   * 获取钢筋加工记录列表
   * @returns 
   */
  GET_STEEL_PRODUCE_LIST(data) {
    return request({
      url: "/budwk/smartlc/lc/prodrecord/list",
      method: "post",
      data: data,
    });
  },
  /**
   * 获取钢筋加工设备列表
   * @returns 
   */
  GET_STEEL_DEVICE_LIST(data) {
    return request({
      url: "/budwk/smartlc/lc/devicedict/list",
      method: "post",
      data: data,
    });
  },
  /**
   * 获取钢筋加工设备列表
   * @returns 
   */
  GET_STEEL_TYPE_LIST(data) {
    return request({
      url: "/budwk/smartlc/lc/typedict/list",
      method: "post",
      data: data,
    });
  },
  /**
   * 添加钢筋生产记录
   * @returns 
   */
  ADD_STEEL_PRODUCT_RECORD(data) {
    return request({
      url: "/budwk/smartlc/lc/prodrecord/create",
      method: "post",
      data: data,
    });
  }
});
